-- GENERATED SPELL FOR [Lesser Air Elemental] --


function spell0_28384(pUnit, Event) --@Lightning Bolt,n/a--
pUnit:FullCastSpellOnTarget(15801,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28384', 3000, 1)
end

function Sorts_28384(pUnit, Event)
local choix_sorts_28384 = math.random(0, 0)
if choix_sorts_28384 == 0 then
pUnit:RegisterEvent('spell0_28384', 1, 1)
end
end

function mob28384_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28384', math.random(1500, 3000), 1)
end

function mob28384_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28384_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28384_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28384, 1, 'mob28384_Action')
RegisterUnitEvent(28384, 2, 'mob28384_Leave')
RegisterUnitEvent(28384, 3, 'mob28384_Kill')
RegisterUnitEvent(28384, 4, 'mob28384_Die')
